package com.lysj.bhp.financial.repository;

import com.lysj.bhp.financial.domain.UserEarnings;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface UserEarningsRepository extends JpaRepository<UserEarnings, Long>, JpaSpecificationExecutor {


    UserEarnings findByUserId(Long userId);
}
